<section class="banner">
    <div class="swiper-container">
      <div class="swiper-wrapper">
  
        <?php foreach($banner as $val){ ?>
            <div class="swiper-slide">
                <img src="<?php echo IMG_DIR.$val['ban_url']; ?>" alt="">
            </div>
        <?php } ?>
        
      </div>
      <div class="swiper-pagination"></div>
    </div>
  </section>
  <script src="<?php echo JS_DIR; ?>vendor.js"></script>
  
  <script src="<?php echo JS_DIR; ?>plugins.js"></script>
  
  <script src="<?php echo JS_DIR; ?>public.js"></script>